Skip to content

[format][python] Support additional MAP BLOB key types - #8963

Merged
JingsongLi merged 1 commit into
apache:masterfrom
QuakeWang:map-blob-keys
Aug 3, 2026
Merged

[format][python] Support additional MAP BLOB key types#8963
JingsongLi merged 1 commit into
apache:masterfrom
QuakeWang:map-blob-keys

Conversation

@QuakeWang

Copy link
Copy Markdown
Member

Purpose

MAP<K, BLOB> schemas can use BOOLEAN, DECIMAL, and DATE keys, but the existing blob key serializers rejected these types during writes.

Add matching Java and Python key codecs, document their binary encodings, and keep Java/Python interoperability consistent.

Tests

  • BlobFileFormatTest
  • Python MAP BLOB key type tests
  • Java-to-Python and Python-to-Java interoperability tests
  • Python 3.11 Flake8

MAP<K, BLOB> schemas can use BOOLEAN, DECIMAL, and DATE keys, but the blob key serializers rejected them when data was written.

Add matching Java and Python codecs, document their byte encodings, and cover cross-language round trips.

Signed-off-by: QuakeWang <wangfuzheng0814@foxmail.com>

@JingsongLi JingsongLi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@JingsongLi
JingsongLi merged commit c07f35f into apache:master Aug 3, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants